﻿<UserControl x:Class="CoolCode.Controls.CommonDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:cc="clr-namespace:CoolCode.Controls">
    <Grid x:Name="LayoutRoot">
        <Grid  x:Name="mask" Background="Black" Opacity="0.2"></Grid>
        <cc:DialogPanel x:Name="dialogPanel" Background="White" Height="100" Width="300" Title="Common Dialog" DragEnable="True" >
            <cc:DialogPanel.Content>
                <StackPanel Orientation="Vertical">
                    <Grid x:Name="content" Margin="4"></Grid>
                    <cc:IguazuButton x:Name="submit" Content="Submit" Margin="2" Height="50" Width="60" ></cc:IguazuButton>

                </StackPanel>
            </cc:DialogPanel.Content>
        </cc:DialogPanel>
    </Grid>
</UserControl>
